package test;

import java.lang.reflect.Field;

public class Classy {

	public void doit(String className) throws Exception {
		Class clazz = Class.forName(className);
		Object o = clazz.newInstance();
		Field[] fields = clazz.getDeclaredFields();
		
		for (Field field : fields) {
			System.out.println(field.getName());
		}
	}
	
	public static void main(String[] args) throws Exception {
		new Classy().doit("mvc.form.LoginForm");
	}
}
